//
//  MusicManager.h
//  PhageWar
//
//  Created by Tran Dang Khoa on 4/16/09.
//  Copyright 2009 HCMUT. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GBMusicTrack.h"

@interface MusicManager : NSObject {
	
}

+ (void)addMusicTrack:(NSString*)filename name:(NSString*)name;
+ (void)removeAll;

+ (void)playMusicTrack:(NSString*)name;
+ (void)playMusicTrack:(NSString*)name withRepeat:(BOOL)b;
+ (void)playRandomTrack;
+ (void)stopCurrentTrack;

+ (void)setVolume:(float)newValue;
+ (float)volume;
+ (void)setEnabled:(BOOL)b;
+ (BOOL)enabled;

+ (BOOL)hasMusicTrack:(NSString*)name;
@end
